package com.varbal.icegame.algorithms.elementdata;

/**
 * 自制链表线性表的研究
 */
public class NodeList<E> {
    private static class Node<E> {
        E item;
        Node<E> next;
        Node<E> prev;

        Node(Node<E> prev, E element, Node<E> next) {
            this.item = element;
            this.next = next;
            this.prev = prev;
        }
    }

    private Node first;

     public NodeList(){
        this.first = new Node(null,null,null);
    }

    public E findKth(int index){
        return null;
    }
}
